.\" Man page generated from reStructuredText.
.
.
.nr rst2man-indent-level 0
.
.de1 rstReportMargin
\\$1 \\n[an-margin]
level \\n[rst2man-indent-level]
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
-
\\n[rst2man-indent0]
\\n[rst2man-indent1]
\\n[rst2man-indent2]
..
.de1 INDENT
.\" .rstReportMargin pre:
. RS \\$1
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
. nr rst2man-indent-level +1
.\" .rstReportMargin post:
..
.de UNINDENT
. RE
.\" indent \\n[an-margin]
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
.nr rst2man-indent-level -1
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
..
.TH "LABGRID-EXPORTER" 1 "2017-04-15" "0.0.1" "embedded testing"
.SH NAME
labgrid-exporter \- labgrid-exporter interface to control boards
.SH SYNOPSIS
.sp
\fBlabgrid\-exporter\fP \fB\-\-help\fP
.sp
\fBlabgrid\-exporter\fP \fB*.yaml\fP
.SH DESCRIPTION
.sp
Labgrid is a scalable infrastructure and test architecture for embedded (linux) systems.
.sp
This is the man page for the exporter, supporting the export of serial ports,
USB devices and various other controllers.
.SH OPTIONS
.INDENT 0.0
.TP
.B  \-h\fP,\fB  \-\-help
display command line help
.TP
.B  \-x\fP,\fB  \-\-coordinator
coordinator \fBHOST[:PORT]\fP to connect to, defaults to \fB127.0.0.1:20408\fP
.TP
.B  \-i\fP,\fB  \-\-isolated
enable isolated mode (always request SSH forwards)
.TP
.B  \-n\fP,\fB  \-\-name
the public name of the exporter
.TP
.B  \-\-hostname
hostname (or IP) published for accessing resources
.TP
.B  \-\-fqdn
use fully qualified domain name as default for hostname
.TP
.B  \-d\fP,\fB  \-\-debug
enable debug mode
.UNINDENT
.SS \-i / \-\-isolated
.sp
This option enables isolated mode, which causes all exported resources being
marked as requiring SSH connection forwarding.
Isolated mode is useful when resources (such as NetworkSerialPorts) are not
directly accessible from the clients.
The client will then use SSH to create a port forward to the resource when
needed.
.SS \-n / \-\-name
.sp
This option is used to configure the exporter name under which resources are
registered with the coordinator, which is useful when running multiple
exporters on the same host.
It defaults to the system hostname.
.SS \-\-hostname
.sp
For resources like USBSerialPort, USBGenericExport or USBSigrokExport, the
exporter needs to provide a host name to set the exported value of the \(dqhost\(dq
key.
If the system hostname is not resolvable via DNS, this option can be used to
override this default with another name (or an IP address).
.SS \-\-fqdn
.sp
In some networks the fully qualified domain name may be needed to reach resources
on an exporter. This option changes the default to fqdn when no \-\-hostname is
explicitly set.
.SH CONFIGURATION
.sp
The exporter uses a YAML configuration file which defines groups of related
resources.
See <\fI\%https://labgrid.readthedocs.io/en/latest/configuration.html#exporter\-configuration\fP>
for more information.
.SH ENVIRONMENT VARIABLES
.sp
The following environment variable can be used to configure labgrid\-exporter.
.SS LG_COORDINATOR
.sp
This variable can be used to set the default coordinator in the format
\fBHOST[:PORT]\fP (instead of using the \fB\-x\fP option).
.SH EXAMPLES
.sp
Start the exporter with the configuration file \fImy\-config.yaml\fP:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ labgrid\-exporter my\-config.yaml
.ft P
.fi
.UNINDENT
.UNINDENT
.sp
Same as above, but with name \fBmyname\fP:
.INDENT 0.0
.INDENT 3.5
.sp
.nf
.ft C
$ labgrid\-exporter \-n myname my\-config.yaml
.ft P
.fi
.UNINDENT
.UNINDENT
.SH SEE ALSO
.sp
\fBlabgrid\-client\fP(1), \fBlabgrid\-device\-config\fP(5)
.SH AUTHOR
Rouven Czerwinski <r.czerwinski@pengutronix.de>

Organization: Labgrid-Project
.SH COPYRIGHT
Copyright (C) 2016-2024 Pengutronix. This library is free software;
you can redistribute it and/or modify it under the terms of the GNU
Lesser General Public License as published by the Free Software
Foundation; either version 2.1 of the License, or (at your option)
any later version.
.\" Generated by docutils manpage writer.
.
